home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 24 / PC Gamer IT CD 24 1-2.iso / PATCHES / ZNPATCH.EXE / ZNPatch / Addon / subpatch.zfs / cb10.scr < prev    next >
Text File  |  1997-06-04  |  6KB  |  156 lines

  1. # THIS SCRIPT WAS GENERATED ON 03-16-1996 AT 06:32:26
  2. world C                     # Castle
  3. room B                      # Entrance Hall
  4. nodeview 10                 # Nodeview 10 (536)
  5. # SCRIPT VERSION: 24.2
  6. puzzle:26999 {                            # AUTO-PRELOAD-OF-ANIMATION 
  7.               results {
  8.                             action:animpreload:27000(cb10s11c.rlf 1 0 0 15)
  9.               }
  10.               flags {
  11.                             DO_ME_NOW
  12.                             ONCE_PER_INST
  13.               }
  14. }
  15.  
  16. # PUZZLES
  17. puzzle:8273 {               # cb 10-20_nav
  18.               criteria { 
  19.                             [8272] = 1                  # cb 10-20
  20.               }
  21.               results {
  22.                             action:assign(8272, 0)      # cb 10-20
  23.                             action:dissolve
  24.                             event:change_location(C,B,20,370)
  25.               }
  26.               flags {
  27.                             ONCE_PER_INST
  28.               }
  29. }
  30. puzzle:8274 {               # cb10 Up/Down pzl
  31.               criteria { 
  32.                             [8276] = 1                  # cb10 Lever a
  33.               }
  34.               criteria { 
  35.                             [8277] = 1                  # cb10 Lever b
  36.               }
  37.               results {
  38.                             action:assign(8276, 0)      # cb10 Lever a
  39.                             action:assign(8277, 0)      # cb10 Lever b
  40.                             event:change_location(C,B,1E,0)
  41.               }
  42.               flags {
  43.                             ONCE_PER_INST
  44.               }
  45. }
  46. puzzle:8279 {               # cb10 Repeat Globe
  47.               criteria { 
  48.                             [11420] = 2                 # cb10 Planet anim
  49.               }
  50.               results {
  51.                             action:assign(8279, 0)      # cb10 Repeat Globe
  52.                             background:playpreload:11420(27000 482 151 545 230 0 29 0)
  53.               }
  54.               flags {
  55.                             ONCE_PER_INST
  56.               }
  57. }
  58. puzzle:8284 {               # CB10 - goTemple_nav 2
  59.               criteria { 
  60.                             [12207] = 2                 # CB10 - goTemple_nav 1_Timer
  61.               }
  62.               results {
  63.                             action:assign(12207, 0)     # CB10 - goTemple_nav 1_Timer
  64.                             action:assign(8284, 0)      # CB10 - goTemple_nav 2
  65.                             action:dissolve
  66.                             event:change_location(T,Z,2E,0)
  67.               }
  68.               flags {
  69.                             ONCE_PER_INST
  70.               }
  71. }
  72. puzzle:8285 {               # INITIAL CB10 (down)
  73.               criteria { 
  74.                             [8278] = 1                  # cb10 Loc (up/down)
  75.               }
  76.               results {
  77.                             action:assign(8286, 1)      # INITIAL CB10 (up)
  78.                             action:assign(8279, 1)      # cb10 Repeat Globe
  79.                             action:set_screen(cb10s21c.tga)
  80.                             action:enable_control(8272)  # cb 10-20
  81.                             action:disable_control(8283)               # cba0 Planet
  82.               }
  83.               flags {
  84.                             ONCE_PER_INST
  85.                             DO_ME_NOW
  86.               }
  87. }
  88. puzzle:8286 {               # INITIAL CB10 (up)
  89.               criteria { 
  90.                             [8278] = 0                  # cb10 Loc (up/down)
  91.               }
  92.               results {
  93.                             action:assign(11420, 2)     # cb10 Planet anim
  94.                             action:set_screen(cb10s11c.tga)
  95.                             action:disable_control(8272)               # cb 10-20
  96.                             action:enable_control(8283)  # cba0 Planet
  97.               }
  98.               flags {
  99.                             ONCE_PER_INST
  100.                             DO_ME_NOW
  101.               }
  102. }
  103. puzzle:11847 {                            # cba0 goTemple_ted
  104.               criteria { 
  105.                             [10742] > 0                 # G_C_TEDcontroller
  106.                             [8283] = 1                  # cba0 Planet
  107.               }
  108.               results {
  109.                             action:assign(8283, 0)      # cba0 Planet
  110.                             action:assign(10656, 666)   # G_C_TEDalerts
  111.               }
  112.               flags {
  113.                             ONCE_PER_INST
  114.               }
  115. }
  116. puzzle:12206 {                            # CB10 - goTemple_nav 1
  117.               criteria { 
  118.                             [10742] = 0                 # G_C_TEDcontroller
  119.                             [8283] = 1                  # cba0 Planet
  120.               }
  121.               results {
  122.                             action:assign(8283, 0)      # cba0 Planet
  123.                             action:assign(12206, 0)     # CB10 - goTemple_nav 1
  124.                             background:timer:12207(10)
  125.                             background:music:12208(0 cb10h1tc.raw 0)
  126.               }
  127.               flags {
  128.                             ONCE_PER_INST
  129.               }
  130. }
  131.  
  132. # CONTROLS
  133. control:8272 push_toggle {                # cb 10-20
  134.               warp_hotspot(434,97,89,217)
  135.               cursor(forward)
  136. }
  137. control:8276 push_toggle {                # cb10 Lever a
  138.               warp_hotspot(320,124,76,106)
  139.               cursor(active)
  140. }
  141. control:8277 push_toggle {                # cb10 Lever b
  142.               warp_hotspot(320,120,80,110)
  143.               cursor(active)
  144. }
  145. # state 8278 has been reserved as a global variable (cb10 Loc (up/down))
  146. control:8283 push_toggle {                # cba0 Planet
  147.               warp_hotspot(460,150,100,95)
  148.               cursor(active)
  149. }
  150.  
  151. # AUTO-BACKWARDS PUZZLES AND CONTROLS
  152. control:25500 pana {
  153.               angle(24.74)
  154.               linscale(0.66)
  155. }
  156.